<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_mini_app_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_mini_app_id" data-rule="required" class="form-control" name="row[wx_mini_app_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_mini_app_secret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_mini_app_secret" class="form-control" name="row[wx_mini_app_secret]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_pay_mch_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_pay_mch_id" data-rule="required" class="form-control" name="row[wx_pay_mch_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_pay_v2_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_pay_v2_key" class="form-control" name="row[wx_pay_v2_key]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_title" class="form-control" name="row[share_title]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-share_image" class="form-control" size="50" name="row[share_image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-share_image" class="btn btn-danger faupload" data-input-id="c-share_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-share_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-share_image" class="btn btn-primary fachoose" data-input-id="c-share_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-share_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-share_image"></ul>
        </div>
    </div>
    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">{:__('tx_map_key')}:</label>
      <div class="col-xs-12 col-sm-8">
        <input id="c-tx_map_key" class="form-control" name="row[tx_map_key]" type="text" value="{$row.tx_map_key|htmlentities}">
      </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('auto_cancel_unpaid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-auto_cancel_unpaid" class="form-control" name="row[auto_cancel_unpaid]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('auto_cancel_unreceived')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-auto_cancel_unreceived" class="form-control" name="row[auto_cancel_unreceived]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
